/*package com.roc.web.action;

import java.util.List;
import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.Namespace;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.config.BeanDefinition;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;
import com.roc.page.BaseAction;
import com.roc.pojo.TblMchtInfSm;
import com.roc.service.IYYCardService;
import com.roc.service.ServiceException;


@Component
@Scope(BeanDefinition.SCOPE_PROTOTYPE)
@Namespace("/yycardTest")
public class YYCardTestAction extends BaseAction{
	private static final long serialVersionUID = 1L;
	@Autowired
	IYYCardService yyCardService;
	
	@Action(value = "sendMessage" )
	public void sendMessage(){
		try {
			List<TblMchtInfSm> tblMchtInfSms = yyCardService.findMerForSma();
			for(TblMchtInfSm mchtInfSm : tblMchtInfSms){
				yyCardService.sendScanCodeMessageNewAgain(mchtInfSm);
			}
		} catch (ServiceException e) {
			e.printStackTrace();
		}
	}
	
	
}*/